package com.example.service;

import com.example.entity.TUser;
import com.example.mapper.TUserMapper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.io.FileOutputStream;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface UserService extends UserDetailsService {
    PageInfo<TUser> loadUserByPage(Integer current, Integer pageSize);

    int editUser(TUser userInfo, String Authorization);
    int addUser(TUser tUser, String Authorization);
    TUser loadUserByUserId(Integer id);
    int delUserInfoById(int id);
    int batchDelUserInfo(List<String> idList);
    void uploadExcel(InputStream inputStream);
    void downTemplate(String isBoolean);
}
